﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Feicui.BeautyCRM.Common.Log
{
    /// <summary>
    /// 日志委托类
    /// </summary>
    public class WriterLogAction
    {

        public static Action<string> WriterLogDel;

        /// <summary>
        /// 将需要的日志实现类添加到委托中
        /// </summary>
        public static void GetWriterLogDel()
        {
            WriterLogDel = s => { new Log4netWriter().LogWriterInfo(s); };
        }
    }
}
